package com.app.mapper;

import com.app.entity.po.HuibenBookCollectionBook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HuibenBookCollectionBookMapper extends BaseMapper<HuibenBookCollectionBook> {

    /**
     * 根据绘本集ID查询关联的绘本ID列表
     * @param collectionId 绘本集ID
     * @return 绘本ID列表
     */
    List<Long> selectBookIdsByCollectionId(@Param("collectionId") Long collectionId);
} 